 <!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="utf-8">
  <meta content="width=device-width, initial-scale=1.0" name="viewport">
    <script src="../static/assets/js/echarts.min.js"></script>
  <title>data table</title>

  <!-- Favicons -->
  <link href="../static/assets/img/tubiao.png" rel="icon">


  <!-- Vendor CSS Files -->
  <link href="../static/assets/vendor/bootstrap/css/bootstrap.min.css" rel="stylesheet">
  <link href="../static/assets/vendor/icofont/icofont.min.css" rel="stylesheet">
  <link href="../static/assets/vendor/boxicons/css/boxicons.min.css" rel="stylesheet">
  <link href="../static/assets/vendor/animate.css/animate.min.css" rel="stylesheet">
  <link href="../static/assets/vendor/venobox/venobox.css" rel="stylesheet">
  <link href="../static/assets/vendor/aos/aos.css" rel="stylesheet">

  <!-- Template Main CSS File -->
  <link href="../static/assets/css/style.css" rel="stylesheet">

</head>

<body>

  <!-- ======= Header ======= -->
  <header id="header">
    <div class="container">

      <div class="logo float-left">
        <h1 class="text-light"><a><span>welcome to movies space</span></a></h1>
        <!-- Uncomment below if you prefer to use an image logo -->
        <!-- <a href="backup.html"><img src="../static/assets/img/logo.png" alt="" class="img-fluid"></a>-->
      </div>

      <nav class="nav-menu float-right d-none d-lg-block">
        <ul>
           <li><a href="/home/{{ username }}">首页</a></li>
          <li><a href="/movie_1/{{ username }}">电影</a></li>
             <li><a href="/squire/{{ username }}">广场</a></li>
          <li  class="active"><a href="/data/{{ username }}">数据表</a></li>
          <li><a href="/about/{{ username }}">关于我们</a></li>
          <li><a href="/my/{{ username }}">{{ username }}</a></li>
        </ul>
      </nav><!-- .nav-menu -->

    </div>
  </header><!-- End Header -->

<!-- ======= Our Team Section ======= -->
    <section id="team" class="team">
      <div class="container">

        <div class="section-title">
          <h2>猎奇电影爱好者交流平台</h2>
          <p>电影评分与平台电影数量分布图</p>
        </div>


      </div>
    </section><!-- End Our Team Section -->

  <section class="counts section-bg">
      <div id="container" style="height: 500%"></div>


  <script type="text/javascript" src="../static/assets/js/echarts.min.js"></script>
  <script type="text/javascript">
    var dom = document.getElementById('container');
    var myChart = echarts.init(dom, null, {
      renderer: 'canvas',
      useDirtyRect: false
    });
    var app = {};

    var option;

    option = {title: {
    text: '评分---电影正态分布图'
  },
  tooltip: {
    trigger: 'axis',
    axisPointer: {
      type: 'shadow'
    },
  },
  xAxis: {
    type: 'category',
    data: {{ dataGrade|tojson }}
  },
  yAxis: {
    type: 'value'
  },
  series: [
    {
      name: '电影部数：',
      data: {{ dataNum }},
      type: 'bar'
    }
  ]
};

    if (option && typeof option === 'object') {
      myChart.setOption(option);
    }

    window.addEventListener('resize', myChart.resize);
  </script>
    </section>


    <!-- ======= Contact Us Section ======= -->
    <section id="contact" class="contact">
      <div class="container">

        <div class="section-title">
          <h2>Contact Us</h2>
        </div>

        <div class="row">



          <div class="col-lg-3 d-flex align-items-stretch" data-aos="fade-up" data-aos-delay="200">
            <div class="info-box ">
              <i class="bx bx-phone-call"></i>
              <h3>Call Us</h3>
              <p>+138 8267 2311<br>+138 8828 8838</p>
            </div>
          </div>
            <div class="col-lg-6 d-flex align-items-stretch" data-aos="fade-up">
            <div class="info-box">
              <i class="bx bx-map"></i>
              <h3>Our Address</h3>
              <p>00000000.@qq.com</p>
            </div>
          </div>

        </div>

      </div>
    </section>


  <footer id="footer">
    <div class="container">
      <div class="copyright">Copyright &copy; 2023.Movies name All rights reserved.<a target="_blank" ></a></div>
      <div class="credits"></div>
    </div>
  </footer><!-- End Footer -->

  <a href="#" class="back-to-top"><i class="icofont-simple-up"></i></a>

  <!-- Vendor JS Files -->
  <script src="../static/assets/vendor/jquery/jquery.min.js"></script>
  <script src="../static/assets/vendor/bootstrap/js/bootstrap.bundle.min.js"></script>
  <script src="../static/assets/vendor/jquery.easing/jquery.easing.min.js"></script>
  <script src="../static/assets/vendor/jquery-sticky/jquery.sticky.js"></script>
  <script src="../static/assets/vendor/venobox/venobox.min.js"></script>
  <script src="../static/assets/vendor/waypoints/jquery.waypoints.min.js"></script>
  <script src="../static/assets/vendor/counterup/counterup.min.js"></script>
  <script src="../static/assets/vendor/isotope-layout/isotope.pkgd.min.js"></script>
  <script src="../static/assets/vendor/aos/aos.js"></script>

  <!-- Template Main JS File -->
  <script src="../static/assets/js/main.js"></script>

</body>

</html>